using System;
namespace ThatsMeSDK
{
	public class Ruediger
	{
		public Ruediger (Gender? _gender, string _token)
		{
			Token = _token;
			Gender = _gender;
		}
		
		public Gender? Gender{get;set;}
		public GalleryPicture GalleryPicture {get;private set;}
		private string Token{get;set;}
		
		public GalleryPicture GetNewRandomImage()
		{
			GalleryPicture = Core.ServiceHandler.GetRandomPic(Token,Gender);
			return GalleryPicture;
		}
		
		public void VoteRandomImage(VoteType voteType)
		{
			Core.ServiceHandler.AddPicRating(Token,GalleryPicture.Id,voteType);
		}
		
		
	}
}

